


namespace Core.Extensions
{
    using System;
    using System.Collections.Generic;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Resources;

    /// <summary>
    /// Mechanics Extension class
    /// </summary>
    
    public sealed class Mechanics: ExtensionBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="T:Core.Extensions.Mechanics"/> class.
        /// </summary>
        public Mechanics()
            : base(
                Traduction.extensions_mechanics, 
                ExtensionGroupsEnum.Engineering,
                1,
                0, 
                new ExtensionCost(5000,0),
                null )
        {
            
            

            Modifiers = new IModifier[]
                            {
                                new Modifier()
                                    {
                                        Feature = FeaturesEnum.ArmorAmount,
                                        ModifiedFeatureType = FeatureTypesEnum.Robot,
                                        Value = 0.02
                                    },
                            };
        }

        /// <summary>
        /// Obtains the extension description
        /// </summary>
        public override string Description
        {
            get { return Traduction.extensions_mechanics_description; }
        }
    }
}